#define _CRT_SECURE_NO_WARNINGS 1


#include"MergeSort.h"

void PrintArray(int *arr,int n)
{
	int i = 0;
	for (i=0;i<n;i++)
	{
		printf("%d ",arr[i]);

	}
	printf("\n");
}
int main()
{

	int arr1[] = {100,-10,19,-34,1,1,3,9,19,7,8,4,1,2,66,88,77};
	int arr2[] = { 100,-10,19,-34,1,1,3,9,19,7,8,4,1,2,66,88,77 };
	int n = sizeof(arr1) / sizeof(arr1[0]);
	MergeSortPart1(arr1,n);
	PrintArray(arr1, n);
	MergeSort(arr2, n);
	PrintArray(arr2,n);
	return 0;
}